package com.cy.oa.entity;

import java.util.Date;

import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
@Table(name="ims_oa.act_leave")
public class LeaveBean implements java.io.Serializable{
	private static final long serialVersionUID = -7746778359744452094L;
	
	private int leaveId;	//请假单id
	private int leaveUserId;  //请假人员id
	private String leaveUserName;
	private String leaveStart;
	private String leaveEnd;
	private Integer leaveDays;
	private String leaveReason;
	private String remark;
	private Integer leaveState;
	private String leaveStateDesc;
	private String applyTime;
	private String processInstanceId;
	
	public int getLeaveId() {
		return leaveId;
	}
	public void setLeaveId(int leaveId) {
		this.leaveId = leaveId;
	}
	public int getLeaveUserId() {
		return leaveUserId;
	}
	public void setLeaveUserId(int leaveUserId) {
		this.leaveUserId = leaveUserId;
	}
	public String getLeaveUserName() {
		return leaveUserName;
	}
	public void setLeaveUserName(String leaveUserName) {
		this.leaveUserName = leaveUserName;
	}
	
	public String getLeaveStart() {
		return leaveStart;
	}
	public void setLeaveStart(String leaveStart) {
		this.leaveStart = leaveStart;
	}
	public String getLeaveEnd() {
		return leaveEnd;
	}
	public void setLeaveEnd(String leaveEnd) {
		this.leaveEnd = leaveEnd;
	}
	public Integer getLeaveDays() {
		return leaveDays;
	}
	public void setLeaveDays(Integer leaveDays) {
		this.leaveDays = leaveDays;
	}
	public String getLeaveReason() {
		return leaveReason;
	}
	public void setLeaveReason(String leaveReason) {
		this.leaveReason = leaveReason;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getLeaveState() {
		return leaveState;
	}
	public void setLeaveState(Integer leaveState) {
		this.leaveState = leaveState;
	}
	public String getLeaveStateDesc() {
		return leaveStateDesc;
	}
	public void setLeaveStateDesc(String leaveStateDesc) {
		this.leaveStateDesc = leaveStateDesc;
	}
	public String getProcessInstanceId() {
		return processInstanceId;
	}
	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}
	public String getApplyTime() {
		return applyTime;
	}
	public void setApplyTime(String applyTime) {
		this.applyTime = applyTime;
	}
	@Override
	public String toString() {
		return "LeaveBean [leaveId=" + leaveId + ", leaveUserId=" + leaveUserId + ", leaveUserName=" + leaveUserName
				+ ", leaveStart=" + leaveStart + ", leaveEnd=" + leaveEnd + ", leaveDays=" + leaveDays
				+ ", leaveReason=" + leaveReason + ", remark=" + remark + ", leaveState=" + leaveState
				+ ", leaveStateDesc=" + leaveStateDesc + ", applyTime=" + applyTime + ", processInstanceId="
				+ processInstanceId + "]";
	}
	
	
	
	
	
	
	
	
}
